<!--#include file="../main/top.asp" -->
<%
id = request.QueryString("id")
sql="select * from cw_roles where roleId="&id
set rs = ado_query(sql)
%>
<div class="function_title"><span class="t2"><img src="../images/dqwz.gif">当前位置：更新角色信息</span></div>
<div class="function_content">
<div class="addItem"><img src="../images/back.png"><a href="adminRolesList.asp">返回列表</a></div>
<span class="important_info">注：带*项为必填信息!</span>
<form method="post" name="adminRolesEdit" id="adminRolesEdit" action="adminRolesEdit_do.asp" onSubmit="return Validator.Validate(this,3)">
<input type="hidden" name="id" id="id" value="<%=rs("roleId")%>"/>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="loginTable" >
  <tr>
    <td width="9%" align="right" class="leftBg"><span class="important_info">*</span>角色名称：</td>
    <td width="91%" align="left"><input type="text" name="roleName" id="roleName" dataType="Require" msg="此项不能为空" value="<%=rs("roleName")%>" /></td>
  </tr>
  <tr>
    <td align="right" class="leftBg"><span class="important_info">*</span>可选操作：</td>
    <td align="left"><%=showEditOperCheckboxListByOperCollection(rs("operCollection"))%></td>
  </tr>
  <tr>
    <td align="right" class="leftBg">备注：</td>
    <td align="left"><textarea name="roleRemark"><%=rs("roleRemark")%></textarea></td>
  </tr>
  <tr>
    <td colspan="2" align="left"><div style=" margin-left:100px;"><input type="submit" name="loginButtomStu" id="loginButtomStu" class="button" value="提交"/></div></td>
  </tr>
</table>
</form>
</div>
<%
	rs.close : set rs=nothing
	conn.close : set conn=nothing
%>
<!--#include file="../main/bottom.asp" -->
